package com.qf.kdgroup.gdbackend.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class Role {
    private Long roleid;

    private String rname;

    private List<Long> authids;

    private List<Auth> auths;

    public Long getRoleid() {
        return roleid;
    }

    public void setRoleid(Long roleid) {
        this.roleid = roleid;
    }

    public String getRname() {
        return rname;
    }

    public void setRname(String rname) {
        this.rname = rname == null ? null : rname.trim();
    }

    public List<Long> getAuthids() {
        return authids;
    }

    public void setAuthids(List<Long> authids) {
        this.authids = authids;
    }
}